package com.qf.xiaomi.pojo;

import java.util.List;

/**
 * @Created by 马英超 on 2022/8/17 17:37
 * @author： 马英超
 * @version：v1.0
 * @description:
 */
public class PageBen<T> {
   private int pageSize;//当前显示条数
   private int currentPage;//当前页数
   private int totalPage;//总页数
   private int totalSize;//总条数
   private List<T> list; //商品信息

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(int totalSize) {
        
        this.totalSize = totalSize;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "PageBen{" +
                "pageSize=" + pageSize +
                ", currentPage=" + currentPage +
                ", totalPage=" + totalPage +
                ", totalSize=" + totalSize +
                ", list=" + list +
                '}';
    }
}
